/**
 * 枚举类：需要继承Enumeration
 * 应用类：需要继承App
 * */
// 枚举类
object TestColor extends Enumeration {
  val RED = Value(1, "red")
  val YELLOW = Value(2, "yellow")
  val BLUE = Value(3, "blue")
}
